package com.jk.smartelderlycare.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@ExcelTarget(value = "民宿信息")  //表头
@TableName(value = "sys_homestay")
public class SysHomestay implements Serializable {
    private static final long serialVersionUID = -6187165723930091109L;
    @TableId(value = "homestay_id", type = IdType.AUTO)
    @Excel(name = "编号")
    private Long homestayId;
    @Excel(name = "名称")
    private String homestayName;
    @Excel(name = "地址")
    private String homestayAddress;
    @Excel(name = "租房类型")
    private String homestayType;
    @Excel(name = "押金")
    private Double homestayDeposit;
    @Excel(name = "租金")
    private Double homestayRent;
    @Excel(name = "图片/视频")
    private String imagePath;
    @Excel(name = "状态")
    private String status;

    private String province;

    private String city;

    private String country;

    @Excel(name = "补充说明")
    private String remark;

    private String address;

    private String isDelete;

    private Date createTime;

    private Date modifyTime;

    private String publishUser;

    @TableField(exist = false)
    private String startPrice;//开始价格
    @TableField(exist = false)
    private String endPrice;//结束价格



}